/*        include all gloabl js files here */
var SITEJS = SITEROOT+ "/js/";
var SITECSS = SITEROOT+"/templates/"+TEMPLATEDIR+"/css/";


	function loadjscssfile(filename,filetype){
		if (filetype == "js"){ //if filename is a external JavaScript file
			document.write("<script src='" + SITEJS + filename + "' type='text/javascript'></script>");
		}
		else if (filetype == "css"){ //if filename is an external CSS file
			document.write("<link href='" + SITECSS + "/" + filename + "' type='text/css' rel='stylesheet'>");
		}
	}

	
	/*include all global js files here 

	loadjscssfile("jquery-1.2.6.pack.js","js");
	loadjscssfile("ajax.js","js");
	loadjscssfile("jquery.validate.pack.js","js");
	loadjscssfile("common.js","js");
	loadjscssfile("ajax_page_url.js","js");
	loadjscssfile("common_my.js","js");
	loadjscssfile("calender3/ui/ui.core.js","js");
	loadjscssfile("calender3/ui/ui.datepicker.js","js");*/